package cn.cloudtogo.common.util;

import lombok.Data;

/**
 * @author yaolianhua789@gmail.com
 **/
@Data
public class RedisConnectionInfo {

    private String url;
    private boolean useSsl;

    private String username;
    private String password;

    private String host;
    private Integer port;

    public RedisConnectionInfo(String url, boolean useSsl, String username, String password, String host, Integer port) {
        this.url = url;
        this.useSsl = useSsl;
        this.username = username;
        this.password = password;
        this.host = host;
        this.port = port;
    }
}
